package com.youmu.shop.receiver.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youmu.shop.base.dao.BaseDao;
import com.youmu.shop.receiver.vo.AddressVo;
import com.youmu.shop.receiver.vo.AgeGroupInfo;
import com.youmu.shop.receiver.vo.ReceiverVO;

/**
 * 
 * <p>Title:ReceiverDao</p>
 * @author xc
 * @version	v1.0
 * <p>Date:2017年1月20日下午12:24:24</p>
 * <p>Description:TODO</p>
 */
public interface ReceiverDao extends BaseDao{

	List<ReceiverVO> findReceiver(@Param("userId")Long userId,@Param("isDefault")Integer isDefault,@Param("receiveId")Long receiveId);

	void cancelDefault(Long userId);

	List<AddressVo> getCity(Integer provinceCode);

	List<AddressVo> getDistrict(Integer cityCode);

	List<AddressVo> getProvince();

	List<AgeGroupInfo> getAgeGroup(@Param("groupId")Long groupId);
}
